package com.nativetalk.service.member.login;

import com.nativetalk.base.RetInfo;
import com.nativetalk.bean.member.TdNtMember;
import com.nativetalk.bean.member.TdNtMemberLogin;

/**
 * Created by lizhun on 15/12/24.
 */
public interface MemberLoginService {
    /**
     * @param tdNtMemberLogin
     * @return RetInfo
     * @Purpose 登陆
     * @version 1.0
     * @author lizhun
     */
    public RetInfo login(TdNtMemberLogin tdNtMemberLogin, int version, String ip);

    /**
     * @param tdNtMember
     * @return RetInfo
     * @Purpose 登出
     * @version 1.0
     * @author lizhun
     */
    public RetInfo out(TdNtMember tdNtMember);

    /**
     * @param memb_id
     * @param equ_client_id
     * @param equ_type
     * @Purpose 更新学员设备id
     * @version 4.1
     * @author Peter
     */
    public RetInfo updateEquClientId(int memb_id, String equ_client_id, String equ_type);

    String receiveRongCloudTokenForStudent(Integer memb_id);
}
